package day01.lianxi.jicheng;

public class JiCheng {
    public static void main(String[] args) {
        zi z = new zi();
        z.show();
        z.getfu();

    }
}

class zi extends fu {
    String name;

    public void show() {
        System.out.println("我是儿子");
        System.out.println(super.name);

    }
}

class fu extends ye {
    String name = "我是爸爸";


}

class ye {
    String name;

    public void getfu() {
        System.out.println("我是yeye");
    }
}
